
package com.zhang.learns.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 学生表
 * </p>
 *
 * @author techSys
 * @since 2022-07-07
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("kk_student" )
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */

    @TableId("OID" )
    private Long oid;

    /**
     * 主对象
     */

    @TableField(value = "SOID",fill = FieldFill.UPDATE)
    private Long soid;

    /**
     * 父对象
     */

    @TableField("POID" )
    private Long poid;

    /**
     * 版本
     */

    @TableField("VERID" )
    private Integer verid;

    /**
     * 版本
     */

    @TableField("DVERID" )
    private Integer dverid;

    /**
     * 启用标识
     */

    @TableField("Enable" )
    private Integer enable;

    /**
     * 逻辑删除标识
     */

    @TableField("Deleted_Flag" )
    @TableLogic
    private Integer deletedFlag;

    /**
     * 姓名
     */

    @TableField("Name" )
    private String name;

    /**
     * 性别
     */

    @TableField("Gender" )
    private Integer gender;

    /**
     * 年龄
     */

    @TableField("Age" )
    private Integer age;

    /**
     * 地址
     */

    @TableField("Adress" )
    private String adress;


    /**
     * true LIKE搜索字符串。
     */
    @TableField(exist = false)
    private String searchString;


    public static final String OID = "OID";
    public static final String SOID = "SOID";
    public static final String POID = "POID";
    public static final String VERID = "VERID";
    public static final String DVERID = "DVERID";
    public static final String ENABLE = "Enable";
    public static final String DELETED_FLAG = "Deleted_Flag";
    public static final String NAME = "Name";
    public static final String GENDER = "Gender";
    public static final String AGE = "Age";
    public static final String ADRESS = "Adress";


}